<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Overpass API Query Form</title>
</head>
<body style="font-family:sans-serif">

<p><a href="index.html">Overpass API</a> &gt;</p>

<h2>Overpass Turbo</h2>

<p>I recommend to use <a href="https://overpass-turbo.eu">Overpass Turbo remote</a> to test and develop queries.
This form is a fallback if Overpass Turbo doesn't work for you.</p>

<h2>Overpass API Query Form</h2>

<form action="api/interpreter" method="post" accept-charset="UTF-8">
<p>
<textarea name="data" rows="25" cols="80"></textarea>
<input type="submit" value="Query"/>
</p>
</form>

<h2>Overpass API Convert Form</h2>

<form action="api/convert" method="get" accept-charset="UTF-8" target="_blank">
<p>
<textarea name="data" rows="25" cols="80"></textarea><br/>
<input type="radio" name="target" value="xml">to pretty XML</input><br/>
<input type="radio" name="target" value="mapql">to pretty Overpass QL</input><br/>
<input type="radio" name="target" value="compact">to compact Overpass QL</input><br/>
<input type="radio" name="target" value="ol_fixed">to OpenLayers auto-centered overlay</input><br/>
<input type="radio" name="target" value="ol_bbox">to OpenLayers slippy overlay</input><br/>
<input type="submit" value="Convert"/>
</p>
</form>

</body>
</html>
